package com.sgl.dao;

import com.sgl.entity.AcceptPayOrder;
import com.sgl.entity.MybatisParamVo;
import com.sgl.util.PageBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AcceptPayOrderMapper {
    AcceptPayOrder  getPayOrderByOrderId(@Param("orderId") String orderId);

    Integer insertPayOrder(AcceptPayOrder acceptPayOrder);

    Integer changeStatusById(@Param("id") Long id);

    Integer changeStatusByIdOrder(AcceptPayOrder order);

    Integer changeStatusByParam(MybatisParamVo<AcceptPayOrder> order);

    List<AcceptPayOrder> findList(PageBean<AcceptPayOrder> pageBean);

    Integer countList(PageBean<AcceptPayOrder> pageBean);

    Integer update(AcceptPayOrder dict);

    Integer delete(@Param("ids") List<String> ids);
}
